<?php
declare(strict_types=1);

namespace App\Bootloader;

use App\Service\MemoryPostService;
use App\Service\PostService;
use Spiral\Boot\Bootloader\Bootloader;
use Spiral\Core\Container;

class AppBootloader extends Bootloader
{
    public function boot(Container $container): void
    {
        $container->bindSingleton(PostService::class, MemoryPostService::class);
    }
}
